// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

// 引入elementUI
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
// 引入自定义css
import './assets/css/global.css';
import './assets/css/normalize.min.css';
//引入全局变量
import global from './components/Global.vue'

Vue.prototype.GLOBAL = global

// 使用elementUI    设置全局迷你尺寸
Vue.use(ElementUI, { siez: 'mini' })


Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    components: { App },
    template: '<App/>'
})